package com.mspbots.api.service;

import com.mspbots.cw.request.TenantUsersMappingDTO;

import java.util.Map;

/**
 * com.mspbots.api.service.TenantUserMappingService
 *
 * @author Jun Zhou
 * @date 14:26 2019/7/29
 **/
@Deprecated
public interface TenantUserMappingService {

    /**
     * find by tenant user id
     *
     * @param tenantUserId user id
     * @return TenantUsersMappingDTO
     */
    TenantUsersMappingDTO findByTenantUser(Long tennatId, Long tenantUserId);

    /**
     * TODO
     *
     * @param params
     * @return com.mspbots.cw.request.TenantUserMappingDTO
     * @author Jun Zhou
     * @date 16:36 2019/7/29
     **/
    TenantUsersMappingDTO findBySheetUser(Map<String, Object> params);


}
